package vsion.demo.controller;

import vsion.demo.model.SysUser;
import vsion.demo.service.safty.SysUserService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 用户表(SysUser)表控制层
 *
 * @author makejava
 * @since 2019-09-27 11:33:04
 */
@RestController
@RequestMapping("sysUser")
public class SysUserController {
    /**
     * 服务对象
     */
    @Resource
    private SysUserService sysUserService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
//    @GetMapping("selectOne")
//    public SysUser selectOne(String id) {
//        return this.sysUserService.queryById(id);
//    }

}